-
Home
-
Knit Pay
-
8.91.2.0
-
Code
-
Classes
- Gateway
Total Complexity |
45 |
Dependencies |
18 |
Dependents |
1 |
Total lines |
368 |
Lines of code |
250 |
Logical lines of code |
121 |
Comment lines |
41 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setup_payment() |
A |
39 |
10 |
68 |
status_update() |
A |
46 |
9 |
39 |
map_payment_button_markup() |
S |
51 |
4 |
28 |
setup_products_or_fail() |
S |
50 |
3 |
34 |
map_transaction_meta() |
S |
53 |
3 |
24 |
setup_user_or_fail() |
S |
56 |
3 |
19 |
is_ready() |
S |
71 |
3 |
5 |
__construct() |
S |
63 |
2 |
11 |
configure() |
S |
69 |
2 |
6 |
enqueue_scripts() |
S |
74 |
1 |
4 |
add_extra_hooks() |
S |
91 |
1 |
2 |
is_test_mode() |
S |
91 |
1 |
2 |
get_label() |
S |
79 |
1 |
3 |
process_webhook() |
S |
91 |
1 |
2 |
get_name() |
S |
80 |
1 |
3 |